<template>
  <div class="main">
    <img src="../assets/image/login.png" alt="" class="leftImg" />
    <div class="rightBox">
      <div class="title">登录</div>
      <div class="label">账号</div>
      <el-input v-model="formData.cell" />
      <div class="label">密码</div>
      <div>
        <el-input type="password" v-model="formData.loginPwd" show-password />
      </div>
      <el-button class="btn" type="primary" @click="submitForm"> 登录 </el-button>
    </div>
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
import router from '../router'
import { ElMessage } from 'element-plus'

const formData = ref({
  cell: '',
  loginPwd: ''
})
const submitForm = () => {}
</script>

<style scoped lang="less">
.main {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
}
.leftImg {
  width: 50%;
  height: 100%;
}
.rightBox {
  width: 50%;
  height: 100%;
  padding: 205px 200px;
  .title {
    font-size: 28px;
    font-weight: 600;
    color: #171721;
    margin-bottom: 61px;
  }
  .label {
    font-size: 18px;
    color: #171721;
    line-height: 25px;
    margin: 10px 0;
  }
  :deep(.el-input) {
    width: 520px !important;
  }
  :deep(.el-input__wrapper) {
    background: #f5f9fe !important;
    height: 48px;
    border-radius: 8px;
  }
  .btn {
    width: 520px;
    height: 48px;
    background: #3e7eff;
    border-radius: 8px;
    margin-top: 60px;
  }
}
</style>
